using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for RTISettings
/// </summary>
public class RTISettings
{
    public RTISettings()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    public static int PageSize
    {
        get { return int.Parse(ConfigurationManager.AppSettings["PageSize"]); }
    }
    public static string weblink
    {
        get { return ConfigurationManager.AppSettings["weblink"]; }
    }
    public static int PageSizeFrontEnd
    {
        get { return int.Parse(ConfigurationManager.AppSettings["PageSizeFrontEnd"]); }
    }
    public static string NewsPictureFolder
    {
        get { return ConfigurationManager.AppSettings["NewsPictureFolder"]; }
    }
    public static string NewsPictureGallery
    {
        get { return ConfigurationManager.AppSettings["NewsPictureGallery"]; }
    }
    public static int ImageWidth
    {
        get { return int.Parse(ConfigurationManager.AppSettings["imageWidth"]); }
    }
    public static int NewsWidth
    {
        get { return int.Parse(ConfigurationManager.AppSettings["NewsWidth"]); }
    }
    public static int NewsHeight
    {
        get { return int.Parse(ConfigurationManager.AppSettings["NewsHeight"]); }
    }
    public static int MaxFileSize
    {
        get { return int.Parse(ConfigurationManager.AppSettings["MaxFileSize"]); }
    }
    public static string FormatDateToCalendar
    {
        get { return ConfigurationManager.AppSettings["FormatDateToCalendar"]; }
    }
    public static int DefaultOrder
    {
        get { return int.Parse(ConfigurationManager.AppSettings["DefaultOrder"]); }
    }
    public static string SiteLink
    {
        get { return ConfigurationManager.AppSettings["SiteLink"]; }
    }
    public static string BannerFolder
    {
        get { return ConfigurationManager.AppSettings["BannerFolder"]; }
    }
    public static string ErrorLink
    {
        get { return ConfigurationManager.AppSettings["ErrorLink"]; }
    }
    public static string DateFormat
    {
        get { return ConfigurationManager.AppSettings["DateFormat"]; }
    }
    public static string EmailAdministrator
    {
        get { return ConfigurationManager.AppSettings["EmailAdministrator"]; }
    }
    public static string Upload
    {
        get { return ConfigurationManager.AppSettings["Upload"]; }
    }
    public static string XMLContactVn
    {
        get { return ConfigurationManager.AppSettings["XMLContactVn"]; }
    }
    public static string XMLContactEn
    {
        get { return ConfigurationManager.AppSettings["XMLContactEn"]; }
    }
    public static string Url
    {
        get { return ConfigurationManager.AppSettings["Url"]; }
    }
}
